package com.xlh.dao.course;

import com.xlh.pojo.course.ChapterCourseSort;
import com.xlh.pojo.course.ChapterCourseSortExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChapterCourseSortMapper {
    long countByExample(ChapterCourseSortExample example);

    int deleteByExample(ChapterCourseSortExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ChapterCourseSort record);

    int insertSelective(ChapterCourseSort record);

    List<ChapterCourseSort> selectByExample(ChapterCourseSortExample example);

    ChapterCourseSort selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ChapterCourseSort record, @Param("example") ChapterCourseSortExample example);

    int updateByExample(@Param("record") ChapterCourseSort record, @Param("example") ChapterCourseSortExample example);

    int updateByPrimaryKeySelective(ChapterCourseSort record);

    int updateByPrimaryKey(ChapterCourseSort record);
}